# -*- coding: utf-8 -*-
import webapp2
import handler

from google.appengine.ext.webapp.util import run_wsgi_app

routes = [
    webapp2.Route(
        '/',                        
        handler=handler.ViewCurrentState, 
        name='show'),             
    webapp2.Route(
        '/list',
        handler=handler.ViewList,
        name='show_list'),
	webapp2.Route(
		'/delete',
		handler=handler.DeleteElement,
		name='delete_session'),
	webapp2.Route(
		'/add',
		handler=handler.AddElement,
		name='add_session')
]

application = webapp2.WSGIApplication(routes, debug=True)


def main():
    run_wsgi_app(application)


if __name__ == "__main__":
    main()
